﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Media;

namespace Proxy
{
    public class MprListModel
    {
        public string MprName { get; set; }
        public int? PartsAmount { get; set; }
        public int? CompletionRate { get; set; } = 0;
        public bool IsShowParts { get; set; } = false;
        public bool IsExpande { get; set; } = true;
        public int BoardInfoId { get; set; }

        public ObservableCollection<LabelTaskListModel> Details { get; set; }

       
    }

    public class LabelTaskListModel
    {
        public string PartId { get; set; }
        public string Reference { get; set; }
        public float? BoardThickness { get; set; }
        public float? PartPos_X { get; set; }
        public float? PartPos_Y { get; set; }
        public int? Rotation { get; set; }
        public float? PartLength { get; set; }
        public float? PartWidth { get; set; }
        public string Title { get; set; }
        public int? Number { get; set; }
        public int? Task_State { get; set; }
        public bool IsExpande { get; set; } = true;
        public string MprName { get; set; }
     
    }

    public class BatchsModel
    {
        public string BatchId { get; set; }
        public int? BoardsAmount { get; set; }
    }
}